package com.by.query;

import com.by.bean.SupplierContact;
import com.by.common.bean.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;

@ApiModel("供应商搜索条件")
@Data
public class SupplierQuery extends Page {
    @ApiModelProperty("供应商ID")
    int id;

    @ApiModelProperty("供应商名称")
    String suppliername;

    @ApiModelProperty("地区")
    String area;

    @ApiModelProperty("地址")
    String address;

    @ApiModelProperty("公司简介")
    String describes;

    @ApiModelProperty("主营产品分类")
    int category;

    @ApiModelProperty("报价系数")
    String factor;

    @ApiModelProperty("logo")
    String logo;

    @ApiModelProperty("材质种类")
    int material;

    String bank;

    @ApiModelProperty("营业执照")
    String license;

    String moneyaccount;

    String companyname;

    String tax_number;
    @ApiModelProperty("账户")
    String account;

    @ApiModelProperty("密码")
    String password;

    String remark;
    @ApiModelProperty("当前第页面，默认显示第1页")
    int page = 1;

    @ApiModelProperty("每页记录数，默认每页10条记录！")
    int pageSize = 10;


    @ApiModelProperty("联系人")
    SupplierContact contact;

    @ApiModelProperty("供应商联系人名称")
    String  contantname;

    @ApiModelProperty("供应商联系人手机号")
    String contantphone;
}
